home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
pcboard
/
upgrade2.zip
/
SECINCR.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-12-02
|
3KB
|
245 lines
Function FUNCTION000
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.3O (Encryption type II) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
Boolean BOOLEAN003
Date DATE001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
Integer INTEGER005
Integer INTEGER006
Integer INTEGER007
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
String STRING017
String STRING018
String STRING019
Declare Function FUNCTION001(String STRING001) String
Declare Function FUNCTION002(Integer INTEGER001) String
;------------------------------------------------------------------------------
Goto LABEL004
End
;------------------------------------------------------------------------------
Function FUNCTION001(String STRING001) String
Function FUNCTION002
STRING001 = ReplaceStr(STRING001, "#NAME#", U_Name())
STRING001 = ReplaceStr(STRING001, "#CITY#", U_City)
FUNCTION001 = STRING001
EndFunc
;------------------------------------------------------------------------------
Function FUNCTION002(Integer INTEGER001) String
Boolean BOOLEAN001
String STRING004
BOOLEAN001 = 0
STRING004 = ""
:LABEL001
If (BOOLEAN001) Goto LABEL003
FGet INTEGER001, STRING004
If (Ferr(INTEGER001)) Then
BOOLEAN001 = 1
Else
If ((Trim(STRING004, " ") == "") || (Left(STRING004, 1) == ";")) Goto LABEL002
Goto LABEL003
:LABEL002
Goto LABEL001
Endif
:LABEL003
If (BOOLEAN001 == 1) STRING004 = ""
FUNCTION002 = STRING004
EndFunc
INTEGER003 = 400
STRING006 = ""
STRING007 = ReadLine(PCBDat(), 29)
INTEGER002 = FNext()
FOpen INTEGER002, STRING007, 2, 0
FSeek INTEGER002, INTEGER003 * 0, 0
FRead INTEGER002, STRING006, 25
FClose INTEGER002
STRING005 = Trim(STRING006, " ")
EndFunc
:LABEL004
For INTEGER004 = 1 To 10
ConfFlag INTEGER004, 16
Next
INTEGER007 = CurConf()
STRING013 = ""
STRING015 = ""
STRING018 = "R"
DATE001 = Date() + 3
BOOLEAN002 = 0
BOOLEAN003 = 0
STRING019 = PPEPath() + PPEName() + ".MSG"
If (Exist(PPEPath() + PPEName() + ".DAT")) Then
INTEGER005 = FNext()
FOpen INTEGER005, PPEPath() + PPEName() + ".DAT", 0, 2
STRING008 = FUNCTION002(INTEGER005)
STRING009 = PPEPath() + FUNCTION002(INTEGER005)
STRING011 = FUNCTION002(INTEGER005)
FClose INTEGER005
STRING016 = ReadLine(PPEPath() + PPEName() + ".DAT", 1)
STRING017 = ReadLine(PPEPath() + PPEName() + ".DAT", 6)
STRING014 = ReadLine(PPEPath() + PPEName() + ".DAT", 1)
Log "GENERIC MESSAGES SENT ", 1
Else
SPrintLn PPEName() + ".DAT not found.ERROR"
Log 0, PPEName() + ".DAT not found ERROR"
Stop
Endif
FCloseAll
STRING010 = TempPath() + "TEMPXXX.MSG"
GetUser
STRING008 = U_Name()
INTEGER005 = FNext()
FOpen INTEGER005, STRING009, 0, 2
INTEGER006 = FNext()
FCreate INTEGER006, STRING010, 1, 3
FGet INTEGER005, STRING012
:LABEL005
If (Ferr(INTEGER005)) Goto LABEL006
If (InStr(STRING012, "#")) STRING012 = FUNCTION001(STRING012)
FPutLn INTEGER006, STRING012
FGet INTEGER005, STRING012
Goto LABEL005
:LABEL006
FClose INTEGER005
FPutLn INTEGER006, ""
FPutLn INTEGER006, "---"
FPutLn INTEGER006, "This program curtesy of KASA ENTERTAINMENT-PRESENTS"
FClose INTEGER006
Message INTEGER007, STRING013, STRING016, STRING017, STRING018, DATE001, BOOLEAN002, BOOLEAN003, STRING019
Message INTEGER007, STRING014, STRING015, STRING017, STRING018, DATE001, BOOLEAN002, BOOLEAN003, STRING010
Delete STRING010
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 13 Goto
; 35 Let
; 8 If
; 1 ConfFlag
; 1 FCreate
; 3 FOpen
; 4 FClose
; 3 FGet
; 4 FPutLn
; 1 GetUser
; 1 Delete
; 2 Log
; 1 Stop
; 2 Message
; 1 SPrintLn
; 1 FSeek
; 1 FRead
; 1 FCloseAll
; 3 EndFunc
;
;
; ■ Functions used :
;
; 1 *
; 18 +
; 3 ==
; 1 <
; 1 <=
; 2 >=
; 5 !
; 2 &&
; 2 ||
; 1 Left()
; 2 Ferr()
; 1 InStr()
; 2 Trim()
; 1 Date()
; 2 U_Name()
; 1 CurConf()
; 1 PCBDat()
; 7 PPEPath()
; 4 ReadLine()
; 1 Exist()
; 8 PPEName()
; 1 TempPath()
; 2 ReplaceStr()
; 4 FNext()
;
;------------------------------------------------------------------------------
;
; Analysis flags : Fd
;
; F - Change conference flags status ■ 2
; This may be normal for a SELECT replacement but it may also be
; a way to get access to conferences a user is not allowed to.
; ■ Search for : CONFFLAG, CONFUNFLAG
;
; d - Access PCBOARD.DAT ■ 2
; Program gets the full pathname to PCBOARD.DAT, this may be usefull
; for many PPE so they can find various informations on the system
; (system paths, max number of lines in messages, ...) but it may also
; be a way to gather vital informations.
; ■ Search for : PCBDAT()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 1 For/Next
; 0 While/EndWhile
; 2 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------